package com.van.bo.badwrting;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.elasticsearch.annotations.Query;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface VersionInfoDao extends ElasticsearchRepository<VersionInfo, String> {
    Page<VersionInfo> findAll(Pageable pageable);

    Iterable<VersionInfo> findAll(Sort sort);


}